package com.qf.commons.redis.config;

import com.qf.commons.redis.lock.LockAspect;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableCaching
public class RedisConfiguration {

    @Bean
    public LockAspect getLockAspect(){
        return new LockAspect();
    }
}